/**
 * 
 */
package com.zy.cat.entity.dev.garden;


import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author sunyuancui
 * @date   2020年12月24日
 * 
 */
@Data
@Table(name="zy_cat_user_tree_grade")
public class CatUserTreeGrade{
	
	
	@Column(columnDefinition = "int(10) DEFAULT DEFAULT COMMENT '总等级数'")
	@ApiModelProperty(value = "总等级数", example = "")
    private Integer levelTotal; 
	
	@Column(columnDefinition = "int(10) DEFAULT NULL COMMENT '单次施肥量'")
	@ApiModelProperty(value = "单次施肥量", example = "")
    private Integer onceFertilizer; 
	
	@Column(columnDefinition = "int(10) DEFAULT NULL COMMENT '登记信息'")
	@ApiModelProperty(value = "等级信息", example = "")
    private Integer levelList; 
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(columnDefinition = "int(10) NOT NULL COMMENT '当前等级'")
	@ApiModelProperty(value = "当前等级", example = "")
    private Integer level; 

	@Column(columnDefinition = "int(10) DEFAULT NULL COMMENT '所需总肥料'")
	@ApiModelProperty(value = "所需总肥料", example = "")
    private Integer fertilizerTotal;
}
